package com.zero.xiaodai.service;

import java.io.IOException;

import javax.mail.MessagingException;

import com.zero.xiaodai.vo.EmailMessage;

import freemarker.core.ParseException;
import freemarker.template.MalformedTemplateNameException;
import freemarker.template.TemplateException;
import freemarker.template.TemplateNotFoundException;


public interface EmailService {
	

	// 发送邮件
	public void sendEmail(String userEmail,int type) throws MessagingException, TemplateNotFoundException, MalformedTemplateNameException, ParseException, IOException, TemplateException;	

}
